{extend name="web/public/base" /}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">{$title}</li>
    </ul>
    <div class="m-b-md">
        <h3 class="m-b-none">欢迎登陆</h3>
        <small>系统基本信息</small>
    </div>
    {if condition="$mid eq 1"}
    <section class="panel panel-default">
        <header class="panel-heading font-bold">系统人员统计</header>
        <div class="row m-l-none m-r-none bg-light lter">
            <div class="col-sm-6 col-md-3 padder-v b-r b-light lt">
        <span class="fa-stack fa-2x pull-left m-r-sm">
        <i class="fa fa-circle fa-stack-2x text-info"></i>
        <i class="fa fa-male fa-stack-1x text-white"></i>
        </span>
                <a class="clear" href="#">
                    <span class="h3 block m-t-xs"><strong>{$total_num_arr[0]+$total_num_arr[1]+$total_num_arr[2]}</strong></span>
                    <small class="text-muted text-uc">总人数</small>
                </a>
            </div>
            <div class="col-sm-6 col-md-3 padder-v b-r b-light lt">
        <span class="fa-stack fa-2x pull-left m-r-sm">
        <i class="fa fa-circle fa-stack-2x text-danger"></i>
        <i class="fa fa-male fa-stack-1x text-white"></i>
        </span>
                <a class="clear" href="#">
                    <span class="h3 block m-t-xs"><strong>{$total_num_arr[0]}</strong></span>
                    <small class="text-muted text-uc">未认证</small>
                </a>
            </div>
            <div class="col-sm-6 col-md-3 padder-v b-r b-light lt">
        <span class="fa-stack fa-2x pull-left m-r-sm">
        <i class="fa fa-circle fa-stack-2x text-warning"></i>
        <i class="fa fa-male fa-stack-1x text-white"></i>
        </span>
                <a class="clear" href="#">
                    <span class="h3 block m-t-xs"><strong>{$total_num_arr[1]}</strong></span>
                    <small class="text-muted text-uc">认证中</small>
                </a>
            </div>
            <div class="col-sm-6 col-md-3 padder-v b-r b-light lt">
        <span class="fa-stack fa-2x pull-left m-r-sm">
        <i class="fa fa-circle fa-stack-2x text-success"></i>
        <i class="fa fa-male fa-stack-1x text-white"></i>
        </span>
                <a class="clear" href="#">
                    <span class="h3 block m-t-xs"><strong>{$total_num_arr[2]}</strong></span>
                    <small class="text-muted text-uc">已认证</small>
                </a>
            </div>
        </div>
    </section>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">级别统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>级别</th>
                            {foreach name='levels' item='vo'}
                            <th>{$vo.name}</th>
                            {/foreach}
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>数量</td>
                            {foreach name='levels' item='vo'}
                            <td>{$vo.num}</td>
                            {/foreach}
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
    {/if}
</section>
{/if}
</section>
{/block}
